package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *    物业部门信息实体类
 * </desc>
 *
 * @createDate 2017/10/12
 */
@ItlTables("property_group")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PropertyGroupPO extends  BasePO implements Serializable {


    /**
     * 部门id
     */
    @ItlField(value = "group_id",logicKey = "key")
    private String groupId;

    /**
     * 项目id
     */
    @ItlField("project_id")
    private String projectId;

    /**
     * 部门名称
     */
    @ItlField("group_name")
    private String groupName;

    /**
     * 备注
     */
    @ItlField("description")
    private String description;

    /**
     * 部门编号，添加时系统自动生成:3位数字，如 006
     */
    @ItlField("group_num")
    private String groupNum;

    private String roleCount;               // 角色数量

    private String userCount;               // 用户数量

    private String allUserCount;            // 条件查询的部门的总员工数量


}